<template>
  <el-dialog
    title="填报A端业务月租费"
    :visible.sync="visible"
    width="70%"
    lock-scroll
    :before-close="handleClose"
  >
    <div>
      <el-form :model="formData" ref="formData" label-width="200px">
        <fieldset class="contain-box">
          <legend class="contain-title">国际半电路月租费</legend>
          <el-row>
            <el-col :span="12" :offset="1">
              <el-form-item
                label="中国电信国内侧国际端口月租费:"
                prop="reAmountCause"
              >
                <el-input
                  placeholder="请输入内容"
                  v-model="formData.reAmountCause"
                >
                </el-input>
              </el-form-item>
            </el-col>
            <el-col :span="11">
              <el-form-item label="币种:">
                <el-select
                  v-model="formData.reAmountCause"
                  placeholder="请选择"
                  class="m-select"
                >
                  <el-option
                    v-for="item in coinType"
                    :key="item.code"
                    :label="item.name"
                    :value="item.code"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12" :offset="1">
              <el-form-item
                label="中国电信国内侧国际端口月租费优惠率(%):"
                prop="reAmountCause"
              >
                <el-input
                  placeholder="请输入内容"
                  v-model="formData.reAmountCause"
                >
                </el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </fieldset>
      </el-form>
    </div>
    <span slot="footer" class="dialog-footer">
      <div class="text-c">
        <el-button @click="closeDialog">取 消</el-button>
        <el-button type="primary" @click="closeDialog">确 定</el-button>
      </div>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      formData: {},
      coinType: [
        {
          code: "1",
          name: "人民币",
        },
      ],
    };
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {
    closeDialog() {
      this.$emit("closeDialog");
    },
    handleClose() {
      this.$emit("closeDialog");
    },
  },
};
</script>
<style lang='scss' scoped>
.contain-box {
  padding: 0.2rem;
  border: 1px solid #f56f3c;
}
.contain-title {
  margin-left: 0.4rem;
  padding: 0 0.1rem;
}
.radioBtn {
  padding-left: 0.2rem;
}
</style>